home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 504 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 75 77 | 6d 2e 65 64 75 21 6d 73 |Path: uw|m.edu!ms|
|00000010| 75 6e 65 77 73 21 6e 65 | 77 73 0a 46 72 6f 6d 3a |unews!ne|ws.From:|
|00000020| 20 52 6f 62 65 72 74 20 | 46 6f 73 74 65 72 20 3c | Robert |Foster <|
|00000030| 72 6b 66 3e 0a 4e 65 77 | 73 67 72 6f 75 70 73 3a |rkf>.New|sgroups:|
|00000040| 20 63 6f 6d 70 2e 6c 61 | 6e 67 2e 63 2b 2b 0a 53 | comp.la|ng.c++.S|
|00000050| 75 62 6a 65 63 74 3a 20 | 50 61 73 73 69 6e 67 20 |ubject: |Passing |
|00000060| 43 2b 2b 20 6d 65 6d 62 | 65 72 20 66 75 6e 63 74 |C++ memb|er funct|
|00000070| 69 6f 6e 73 20 74 6f 20 | 58 76 69 65 77 20 6e 6f |ions to |Xview no|
|00000080| 74 69 66 69 65 72 20 66 | 75 6e 63 74 69 6f 6e 73 |tifier f|unctions|
|00000090| 2e 0a 44 61 74 65 3a 20 | 34 20 4a 61 6e 20 31 39 |..Date: |4 Jan 19|
|000000a0| 39 36 20 32 31 3a 34 37 | 3a 30 33 20 47 4d 54 0a |96 21:47|:03 GMT.|
|000000b0| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 3a 20 4d 69 |Organiza|tion: Mi|
|000000c0| 63 68 69 67 61 6e 20 53 | 74 61 74 65 20 55 6e 69 |chigan S|tate Uni|
|000000d0| 76 65 72 73 69 74 79 2c | 20 52 61 64 69 6f 6c 6f |versity,| Radiolo|
|000000e0| 67 79 20 44 65 70 74 2e | 2c 20 45 61 73 74 20 4c |gy Dept.|, East L|
|000000f0| 61 6e 73 69 6e 67 2c 20 | 4d 49 2c 20 55 53 41 0a |ansing, |MI, USA.|
|00000100| 4d 65 73 73 61 67 65 2d | 49 44 3a 20 3c 34 63 68 |Message-|ID: <4ch|
|00000110| 68 73 6e 24 73 69 6d 40 | 6d 73 75 6e 65 77 73 2e |hsn$sim@|msunews.|
|00000120| 63 6c 2e 6d 73 75 2e 65 | 64 75 3e 0a 4e 4e 54 50 |cl.msu.e|du>.NNTP|
|00000130| 2d 50 6f 73 74 69 6e 67 | 2d 48 6f 73 74 3a 20 64 |-Posting|-Host: d|
|00000140| 62 73 65 72 76 2e 72 61 | 64 2e 6d 73 75 2e 65 64 |bserv.ra|d.msu.ed|
|00000150| 75 0a 4d 69 6d 65 2d 56 | 65 72 73 69 6f 6e 3a 20 |u.Mime-V|ersion: |
|00000160| 31 2e 30 0a 43 6f 6e 74 | 65 6e 74 2d 54 79 70 65 |1.0.Cont|ent-Type|
|00000170| 3a 20 74 65 78 74 2f 70 | 6c 61 69 6e 3b 20 63 68 |: text/p|lain; ch|
|00000180| 61 72 73 65 74 3d 75 73 | 2d 61 73 63 69 69 0a 43 |arset=us|-ascii.C|
|00000190| 6f 6e 74 65 6e 74 2d 54 | 72 61 6e 73 66 65 72 2d |ontent-T|ransfer-|
|000001a0| 45 6e 63 6f 64 69 6e 67 | 3a 20 37 62 69 74 0a 58 |Encoding|: 7bit.X|
|000001b0| 2d 4d 61 69 6c 65 72 3a | 20 4d 6f 7a 69 6c 6c 61 |-Mailer:| Mozilla|
|000001c0| 20 31 2e 31 4e 20 28 58 | 31 31 3b 20 49 3b 20 53 | 1.1N (X|11; I; S|
|000001d0| 75 6e 4f 53 20 35 2e 34 | 20 73 75 6e 34 6d 29 0a |unOS 5.4| sun4m).|
|000001e0| 54 6f 3a 20 72 6b 66 40 | 72 61 64 2e 6d 73 75 2e |To: rkf@|rad.msu.|
|000001f0| 65 64 75 0a 58 2d 55 52 | 4c 3a 20 6e 65 77 73 3a |edu.X-UR|L: news:|
|00000200| 63 6f 6d 70 2e 6c 61 6e | 67 2e 63 2b 2b 0a 0a 47 |comp.lan|g.c++..G|
|00000210| 72 65 65 74 69 6e 67 73 | 2c 0a 0a 49 20 61 6d 20 |reetings|,..I am |
|00000220| 75 73 69 6e 67 20 43 2b | 2b 20 63 6c 61 73 73 65 |using C+|+ classe|
|00000230| 73 20 69 6e 20 61 6e 20 | 58 76 69 65 77 20 62 61 |s in an |Xview ba|
|00000240| 73 65 64 20 70 72 6f 67 | 72 61 6d 20 6f 6e 20 61 |sed prog|ram on a|
|00000250| 20 53 75 6e 2f 53 6f 6c | 61 72 69 73 20 70 6c 61 | Sun/Sol|aris pla|
|00000260| 74 66 6f 72 6d 2e 0a 0a | 57 68 65 6e 20 49 20 74 |tform...|When I t|
|00000270| 72 79 20 74 6f 20 64 6f | 20 74 68 65 20 66 6f 6c |ry to do| the fol|
|00000280| 6c 6f 77 69 6e 67 20 77 | 69 74 68 69 6e 20 61 20 |lowing w|ithin a |
|00000290| 63 6c 61 73 73 20 6d 65 | 6d 62 65 72 20 66 75 6e |class me|mber fun|
|000002a0| 63 74 69 6f 6e 2e 2e 2e | 0a 0a 6e 6f 74 69 66 79 |ction...|..notify|
|000002b0| 5f 73 65 74 5f 69 6e 70 | 75 74 5f 66 75 6e 63 28 |_set_inp|ut_func(|
|000002c0| 20 63 6c 69 65 6e 74 31 | 2c 20 50 69 70 65 3a 3a | client1|, Pipe::|
|000002d0| 72 65 61 64 5f 66 72 6f | 6d 2c 20 70 69 70 65 5f |read_fro|m, pipe_|
|000002e0| 69 6e 5f 6f 75 74 5b 31 | 5d 5b 30 5d 20 29 20 3b |in_out[1|][0] ) ;|
|000002f0| 0a 0a 2e 2e 74 68 65 20 | 63 6f 6d 70 69 6c 65 72 |....the |compiler|
|00000300| 20 63 6f 6d 70 6c 61 69 | 6e 73 20 61 62 6f 75 74 | complai|ns about|
|00000310| 20 74 68 65 20 50 69 70 | 65 3a 3a 72 65 61 64 5f | the Pip|e::read_|
|00000320| 66 72 6f 6d 20 69 6e 20 | 74 68 65 20 66 6f 6c 6c |from in |the foll|
|00000330| 6f 77 69 6e 67 20 77 61 | 79 2e 2e 2e 0a 0a 45 72 |owing wa|y.....Er|
|00000340| 72 6f 72 3a 20 46 6f 72 | 6d 61 6c 20 61 72 67 75 |ror: For|mal argu|
|00000350| 6d 65 6e 74 20 66 75 6e | 63 20 6f 66 20 74 79 70 |ment fun|c of typ|
|00000360| 65 20 6e 6f 74 69 66 79 | 5f 76 61 6c 75 65 28 2a |e notify|_value(*|
|00000370| 29 28 2e 2e 2e 29 20 69 | 6e 20 63 61 6c 6c 20 74 |)(...) i|n call t|
|00000380| 6f 0a 6e 6f 74 69 66 79 | 5f 73 65 74 5f 69 6e 70 |o.notify|_set_inp|
|00000390| 75 74 5f 66 75 6e 63 28 | 75 6e 73 69 67 6e 65 64 |ut_func(|unsigned|
|000003a0| 20 6c 6f 6e 67 2c 20 6e | 6f 74 69 66 79 5f 76 61 | long, n|otify_va|
|000003b0| 6c 75 65 28 2a 29 28 2e | 2e 2e 29 2c 20 69 6e 74 |lue(*)(.|..), int|
|000003c0| 29 20 69 73 20 62 65 69 | 6e 67 20 70 61 73 73 65 |) is bei|ng passe|
|000003d0| 64 0a 6e 6f 74 69 66 79 | 5f 76 61 6c 75 65 28 50 |d.notify|_value(P|
|000003e0| 69 70 65 3a 3a 2a 29 28 | 75 6e 73 69 67 6e 65 64 |ipe::*)(|unsigned|
|000003f0| 20 6c 6f 6e 67 2c 20 69 | 6e 74 29 2e 0a 0a 50 69 | long, i|nt)...Pi|
|00000400| 70 65 3a 3a 72 65 61 64 | 5f 66 72 6f 6d 20 69 73 |pe::read|_from is|
|00000410| 20 64 65 63 6c 61 72 65 | 64 20 61 73 2e 2e 2e 0a | declare|d as....|
|00000420| 0a 4e 6f 74 69 66 79 5f | 76 61 6c 75 65 20 50 69 |.Notify_|value Pi|
|00000430| 70 65 3a 3a 72 65 61 64 | 5f 66 72 6f 6d 28 20 4e |pe::read|_from( N|
|00000440| 6f 74 69 66 79 5f 63 6c | 69 65 6e 74 20 63 6c 69 |otify_cl|ient cli|
|00000450| 65 6e 74 2c 20 69 6e 74 | 20 66 64 20 29 20 7b 0a |ent, int| fd ) {.|
|00000460| 7d 0a 0a 44 6f 20 49 20 | 68 61 76 65 20 61 20 73 |}..Do I |have a s|
|00000470| 79 6e 74 61 78 20 65 72 | 72 6f 72 20 73 6f 6d 65 |yntax er|ror some|
|00000480| 77 68 65 72 65 28 49 27 | 6d 20 6e 6f 74 20 61 20 |where(I'|m not a |
|00000490| 43 2b 2b 20 67 75 72 75 | 20 6f 72 20 61 6e 79 74 |C++ guru| or anyt|
|000004a0| 68 69 6e 67 29 3f 0a 49 | 73 20 74 68 65 72 65 20 |hing)?.I|s there |
|000004b0| 61 20 77 61 79 20 61 72 | 6f 75 6e 64 20 74 68 69 |a way ar|ound thi|
|000004c0| 73 2c 20 6f 72 20 64 6f | 65 73 20 58 76 69 65 77 |s, or do|es Xview|
|000004d0| 20 73 69 6d 70 6c 79 20 | 6e 6f 74 20 68 61 6e 64 | simply |not hand|
|000004e0| 6c 65 20 43 2b 2b 20 63 | 6c 61 73 73 65 73 3f 0a |le C++ c|lasses?.|
|000004f0| 0a 41 6e 79 20 69 64 65 | 61 73 20 77 6f 75 6c 64 |.Any ide|as would|
|00000500| 20 62 65 20 61 70 70 72 | 65 63 69 61 74 65 64 2e | be appr|eciated.|
|00000510| 20 50 6c 65 61 73 65 20 | 65 6d 61 69 6c 20 6d 65 | Please |email me|
|00000520| 20 64 69 72 65 63 74 6c | 79 2e 0a 54 68 61 6e 6b | directl|y..Thank|
|00000530| 73 20 66 6f 72 20 79 6f | 75 72 20 74 69 6d 65 2e |s for yo|ur time.|
|00000540| 0a 0a 42 6f 62 2e 0a 2d | 2d 0a 52 6f 62 65 72 74 |..Bob..-|-.Robert|
|00000550| 20 4b 2e 20 46 6f 73 74 | 65 72 20 28 72 6b 66 40 | K. Fost|er (rkf@|
|00000560| 72 61 64 2e 6d 73 75 2e | 65 64 75 29 0a 41 6e 61 |rad.msu.|edu).Ana|
|00000570| 6c 79 73 74 20 2f 20 44 | 65 73 69 67 6e 65 72 20 |lyst / D|esigner |
|00000580| 2f 20 50 72 6f 67 72 61 | 6d 6d 65 72 0a 4d 69 64 |/ Progra|mmer.Mid|
|00000590| 2d 4d 69 63 68 69 67 61 | 6e 20 4d 52 49 2c 20 49 |-Michiga|n MRI, I|
|000005a0| 6e 63 2e 0a 4c 61 6e 73 | 69 6e 67 2c 20 4d 49 2c |nc..Lans|ing, MI,|
|000005b0| 20 55 53 41 0a 0a | | USA.. | |
+--------+-------------------------+-------------------------+--------+--------+